/**********************************************************
 * File description:dyelibrary.h
 * Function:染料库管理类
 * Current Version: 1.0.0
 * Author: 王伟豪
 * Date: 2022-10-02
 *  -----
 *  Copyright by BoKun Software.
 **********************************************************/
#ifndef DYELIBRARY_H
#define DYELIBRARY_H

#include<QString>
#include<QDate>
#include"SqliteDriver.h"
#include<Constant.h>
#include <QCoreApplication>

class DyeLibrary
{
public:

    QString path;
    SqliteDriver * sqlD;

    DyeLibrary();
    ~DyeLibrary();
    void create(QString name, QString waveLength, QString creator, QString type,QString status);
    void remove(QString id);
    void revise(QString id,QString name, QString waveLength, QString creator, QString type,QString status);
    QList<QHash<QString,QString>> show();
};
#endif // DYELIBRARY_H
